package com.xueyi.workflow.service;

import com.xueyi.workflow.domain.dto.WfProcessApprovalDto;
import com.xueyi.workflow.domain.query.WfProcessApprovalQuery;

import java.util.List;

/**
 * 流程审批Service接口
 *
 * @author xueyi
 * @date 2024-07-03
 */
public interface IWfProcessApprovalService {

    /**
     * 查询审批历史
     */
    List<WfProcessApprovalDto> getApprovalHistory(String processInstanceId);

    /**
     * 添加审批记录
     */
    boolean addApprovalRecord(WfProcessApprovalQuery query);
}
